#include<iostream>
#include<cstdio>


int main()
{
  //C
  printf("hello printf->stdout\n");
  fprintf(stdout,"hello fprintf->stdout\n");
  fprintf(stderr,"hello fprintf->stderr\n");

  //C++
  std::cout<<"hello cout -> cout"<<std::endl;
 std::cerr<<"hello cerr -> cerr"<<std::endl;



  return 0;
}
